import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "./SEntityId";
type int = number;
//class SCrossGuildWarGuild
    
    export  class SCrossGuildWarGuild
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.guildId.__write(arg1);
            arg1.writeString(this.guildName);
            this.enemyGuildId.__write(arg1);
            arg1.writeString(this.enemyGuildName);
            arg1.writeBool(this.choosed);
            arg1.writeInt(this.enemyIndex);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.guildId = new SEntityId();
            this.guildId.__read(arg1);
            this.guildName = arg1.readString();
            this.enemyGuildId = new SEntityId();
            this.enemyGuildId.__read(arg1);
            this.enemyGuildName = arg1.readString();
            this.choosed = arg1.readBool();
            this.enemyIndex = arg1.readInt();
            return;
        }

        public /* var */guildId: SEntityId;

        public /* var */guildName: string;

        public /* var */enemyGuildId: SEntityId;

        public /* var */enemyGuildName: string;

        public /* var */choosed: Boolean;

        public /* var */enemyIndex: int;
    }
